package com.example.identifyvisio.model.connect;


import com.example.identifyvisio.model.connect.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/*
* 连接线*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Connect implements Serializable {
    //类型
    private String shape;
    private Attrs attrs;
    private String id;
    private ConnectData data;
    private String zIndex;
    private List<Labels> labels;
    //出发节点
    private Start source;
    //结束节点
    private Start target;
    //父id
    private String parent;


}

